﻿using DotNetty.Buffers;
using QQ.Client;

namespace QQ.Packet.Request.TLV
{
    public class TLV0x107 : IRequest
    {
        private readonly QQDeviceConfig config;
        private int picType { get; set; } = 0;
        private byte const1_always_0 { get; set; } = 0;
        private short const2_always_0 { get; set; } = 0;
        private byte const3_always_1 { get; set; } = 1;
        public TLV0x107(QQDeviceConfig config)
        {
            this.config = config;
        }
        public IByteBuffer Serialize() => Unpooled.Buffer()
            .WriteShort(picType)
            .WriteByte(const1_always_0)
            .WriteShort(const2_always_0)
            .WriteByte(const3_always_1);
    }
}